package com.challenge.smsservice.teachermanage.service.impl;

import com.challenge.smsbase.Service.impl.GenericManagerImpl;
import com.challenge.smsdao.teachermanage.dao.DepartmentDao;
import com.challenge.smsdao.teachermanage.domain.Department;
import com.challenge.smsservice.teachermanage.service.DepartmentManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * maboqi
 */
@Component
public class DepartmentManagerImpl extends GenericManagerImpl<Department,Long> implements DepartmentManager {
    DepartmentDao departmentDao;

    /**
     * setStudentDao
     * @param departmentDao
     */
    @Autowired
    public void setStudentDao(DepartmentDao departmentDao){
        this.departmentDao = departmentDao;
        this.dao = this.departmentDao;
    }
}
